package com.crm.CLdriving.service;

import java.util.List;

import com.crm.CLdriving.common.BaseResponse;
import com.crm.CLdriving.common.PageResponse;
import com.crm.CLdriving.dto.PageReq.PageNumber;
import com.crm.CLdriving.dto.req.CostDeleteReqDto;
import com.crm.CLdriving.dto.req.CostInsertReqDto;
import com.crm.CLdriving.dto.req.CostSelectOneReqDto;
import com.crm.CLdriving.dto.req.CostSelectXQReqDto;
import com.crm.CLdriving.dto.req.CostUpdateReqDto;
import com.crm.CLdriving.po.CostPO;

public interface CostService {

	BaseResponse<?> insert(CostInsertReqDto costInsertReqDto);

	PageResponse<List<CostPO>> selectall(PageNumber pageNumber);

	BaseResponse<?> update(CostUpdateReqDto costUpdateReqDto);

	BaseResponse<?> deleteById(CostDeleteReqDto costDeleteReqDto);

	BaseResponse<CostPO> selectone(CostSelectOneReqDto costSelectOneReqDto);

	BaseResponse<List<CostPO>> selectxq(CostSelectXQReqDto costSelectXQReqDto);

}
